{% extends "../public/base.html" %}
{% block mbody %}
<div class="top mr">
    <div class="m-left"><img src="/static/image/cd_icon.png" style="width:80%;margin-top: 10px;" ></div>
    <h1>保洁点赞</h1>
    <div class="m-right"></div>
</div>
<div class="mbody mr" id="mbody">
    <div class="item">
        <div class="i-title">
            <a href="/user/student?pn=2"><div class="i-title-item">保洁员</div></a>
            <a href="/user/student?pn=1"><div class="i-title-item">宿管员</div></a>
            {# <div class="i-title-item"><a href="/user/student?pn={{Fposition}}&dorm_id=1">宿舍楼1号楼</a>---<a href="/user/student?pn={{Fposition}}&dorm_id=6">宿舍2号楼</a></div> #}
        </div>
        {% for i in data %}
            <div class="i-ul">
                <div class="i-ul-img left"><img src="/static{{ i.get('Favater') }}"></div>
                <div class="i-ul-body left">
                    <div class="i-ul-title">{{ i.get('Fname') }}</div>
                    <div class="i-ul-text">
                        年龄：{{ i.get('Fage') }}<br>
                        寝室楼：{{ i.get('Fdorm_name') }}
                    </div>
                </div>
                <div class="i-ul-img-small right">
                    <a href="/user/student/status?p={{ i.get('Fid') }}" plink="false">{% if not i.get('status') %}<img src="/static/image/unlike.png">{% else %}<img src="/static/image/like.png">{% end %}</a>
                </div>
            </div>
        {% end %}
        <div class='after' page="{{ page }}">加载中......</div>
    </div>
</div>
<!-- <div class="bottom mr">
    
</div> -->
<div class="palert" id="aAlert"><img src="/static/image/loading.gif">加载中……</div>
<div class="palert" id="talert"><img src="/static/image/loading.gif">
    test
    <input type="button" onclick="palert.close('#talert')" value="关闭">
</div>
{% end %}
{% block script %}
<script type="text/javascript">
$(document).ready(function(){
    ScrollItem.bind("/user/student/list?page=")
})
</script>
{% end %}